package com.zlll.winner.enums.bbs;

import com.zlll.winner.enums.biz.Constant;

public class PostMediaEnum {

    /**
     * 贴子媒体类型枚举
     */
    public enum TypeEnum implements Constant {
        IMAGE("图片",2),
        AUDIO("语音",3),
        VIDEO("视频",4);

        private String desc;
        private int value;

        TypeEnum(String desc, int value){
            this.desc = desc;
            this.value = value;
        }

        @Override
        public String desc() {
            return desc;
        }
        @Override
        public int val() {
            return value;
        }

    }



}
